#include <stdio.h>

struct st1
{
    int a : 10;
    int b : 2;
    int c : 20;
};

struct st2
{
    char a : 7;
    char b : 6;
    char c : 3;
};


int main()
{
    struct st1 st1;
    struct st2 st2;
    printf("%zd\n", sizeof(st1));
    printf("%zd\n", sizeof(st2));
    return 0;
}